3.70 \(\int (a+b (F^{g (e+f x)})^n)^3 (c+d x)^m \, dx\)

Optimal. Leaf size=340 \[ \frac{3 a^2 b (c+d x)^m \left (F^{e g+f g x}\right )^n F^{g n \left (e-\frac{c f}{d}\right )-g n (e+f x)} \left (-\frac{f g n \log (F) (c+d x)}{d}\right )^{-m} \text{Gamma}\left (m+1,-\frac{f g n \log (F) (c+d x)}{d}\right )}{f g n \log (F)}+\frac{3 a b^2 2^{-m-1} (c+d x)^m \left (F^{e g+f g x}\right )^{2 n} F^{2 g n \left (e-\frac{c f}{d}\right )-2 g n (e+f x)} \left (-\frac{f g n \log (F) (c+d x)}{d}\right )^{-m} \text{Gamma}\left (m+1,-\frac{2 f g n \log (F) (c+d x)}{d}\right )}{f g n \log (F)}+\frac{b^3 3^{-m-1} (c+d x)^m \left (F^{e g+f g x}\right )^{3 n} F^{3 g n \left (e-\frac{c f}{d}\right )-3 g n (e+f x)} \left (-\frac{f g n \log (F) (c+d x)}{d}\right )^{-m} \text{Gamma}\left (m+1,-\frac{3 f g n \log (F) (c+d x)}{d}\right )}{f g n \log (F)}+\frac{a^3 (c+d x)^{m+1}}{d (m+1)} \]

[Out]

(a^3*(c + d*x)^(1 + m))/(d*(1 + m)) + (3^(-1 - m)*b^3*F^(3*(e - (c*f)/d)*g*n - 3*g*n*(e + f*x))*(F^(e*g + f*g*
x))^(3*n)*(c + d*x)^m*Gamma[1 + m, (-3*f*g*n*(c + d*x)*Log[F])/d])/(f*g*n*Log[F]*(-((f*g*n*(c + d*x)*Log[F])/d
))^m) + (3*2^(-1 - m)*a*b^2*F^(2*(e - (c*f)/d)*g*n - 2*g*n*(e + f*x))*(F^(e*g + f*g*x))^(2*n)*(c + d*x)^m*Gamm
a[1 + m, (-2*f*g*n*(c + d*x)*Log[F])/d])/(f*g*n*Log[F]*(-((f*g*n*(c + d*x)*Log[F])/d))^m) + (3*a^2*b*F^((e - (
c*f)/d)*g*n - g*n*(e + f*x))*(F^(e*g + f*g*x))^n*(c + d*x)^m*Gamma[1 + m, -((f*g*n*(c + d*x)*Log[F])/d)])/(f*g
*n*Log[F]*(-((f*g*n*(c + d*x)*Log[F])/d))^m)

________________________________________________________________________________________

Rubi [A]  time = 0.467453, antiderivative size = 340, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {2183, 2182, 2181} \[ \frac{3 a^2 b (c+d x)^m \left (F^{e g+f g x}\right )^n F^{g n \left (e-\frac{c f}{d}\right )-g n (e+f x)} \left (-\frac{f g n \log (F) (c+d x)}{d}\right )^{-m} \text{Gamma}\left (m+1,-\frac{f g n \log (F) (c+d x)}{d}\right )}{f g n \log (F)}+\frac{3 a b^2 2^{-m-1} (c+d x)^m \left (F^{e g+f g x}\right )^{2 n} F^{2 g n \left (e-\frac{c f}{d}\right )-2 g n (e+f x)} \left (-\frac{f g n \log (F) (c+d x)}{d}\right )^{-m} \text{Gamma}\left (m+1,-\frac{2 f g n \log (F) (c+d x)}{d}\right )}{f g n \log (F)}+\frac{b^3 3^{-m-1} (c+d x)^m \left (F^{e g+f g x}\right )^{3 n} F^{3 g n \left (e-\frac{c f}{d}\right )-3 g n (e+f x)} \left (-\frac{f g n \log (F) (c+d x)}{d}\right )^{-m} \text{Gamma}\left (m+1,-\frac{3 f g n \log (F) (c+d x)}{d}\right )}{f g n \log (F)}+\frac{a^3 (c+d x)^{m+1}}{d (m+1)} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*(F^(g*(e + f*x)))^n)^3*(c + d*x)^m,x]

[Out]

(a^3*(c + d*x)^(1 + m))/(d*(1 + m)) + (3^(-1 - m)*b^3*F^(3*(e - (c*f)/d)*g*n - 3*g*n*(e + f*x))*(F^(e*g + f*g*
x))^(3*n)*(c + d*x)^m*Gamma[1 + m, (-3*f*g*n*(c + d*x)*Log[F])/d])/(f*g*n*Log[F]*(-((f*g*n*(c + d*x)*Log[F])/d
))^m) + (3*2^(-1 - m)*a*b^2*F^(2*(e - (c*f)/d)*g*n - 2*g*n*(e + f*x))*(F^(e*g + f*g*x))^(2*n)*(c + d*x)^m*Gamm
a[1 + m, (-2*f*g*n*(c + d*x)*Log[F])/d])/(f*g*n*Log[F]*(-((f*g*n*(c + d*x)*Log[F])/d))^m) + (3*a^2*b*F^((e - (
c*f)/d)*g*n - g*n*(e + f*x))*(F^(e*g + f*g*x))^n*(c + d*x)^m*Gamma[1 + m, -((f*g*n*(c + d*x)*Log[F])/d)])/(f*g
*n*Log[F]*(-((f*g*n*(c + d*x)*Log[F])/d))^m)

Rule 2183

Int[((a_) + (b_.)*((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.))^(p_.)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> In
t[ExpandIntegrand[(c + d*x)^m, (a + b*(F^(g*(e + f*x)))^n)^p, x], x] /; FreeQ[{F, a, b, c, d, e, f, g, m, n},
x] && IGtQ[p, 0]

Rule 2182

Int[((b_.)*(F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Dist[(b*F^(g*(e +
f*x)))^n/F^(g*n*(e + f*x)), Int[(c + d*x)^m*F^(g*n*(e + f*x)), x], x] /; FreeQ[{F, b, c, d, e, f, g, m, n}, x]

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rubi steps

\begin{align*} \int \left (a+b \left (F^{g (e+f x)}\right )^n\right )^3 (c+d x)^m \, dx &=\int \left (a^3 (c+d x)^m+3 a^2 b \left (F^{e g+f g x}\right )^n (c+d x)^m+3 a b^2 \left (F^{e g+f g x}\right )^{2 n} (c+d x)^m+b^3 \left (F^{e g+f g x}\right )^{3 n} (c+d x)^m\right ) \, dx\\ &=\frac{a^3 (c+d x)^{1+m}}{d (1+m)}+\left (3 a^2 b\right ) \int \left (F^{e g+f g x}\right )^n (c+d x)^m \, dx+\left (3 a b^2\right ) \int \left (F^{e g+f g x}\right )^{2 n} (c+d x)^m \, dx+b^3 \int \left (F^{e g+f g x}\right )^{3 n} (c+d x)^m \, dx\\ &=\frac{a^3 (c+d x)^{1+m}}{d (1+m)}+\left (3 a^2 b F^{-n (e g+f g x)} \left (F^{e g+f g x}\right )^n\right ) \int F^{n (e g+f g x)} (c+d x)^m \, dx+\left (3 a b^2 F^{-2 n (e g+f g x)} \left (F^{e g+f g x}\right )^{2 n}\right ) \int F^{2 n (e g+f g x)} (c+d x)^m \, dx+\left (b^3 F^{-3 n (e g+f g x)} \left (F^{e g+f g x}\right )^{3 n}\right ) \int F^{3 n (e g+f g x)} (c+d x)^m \, dx\\ &=\frac{a^3 (c+d x)^{1+m}}{d (1+m)}+\frac{3^{-1-m} b^3 F^{3 \left (e-\frac{c f}{d}\right ) g n-3 g n (e+f x)} \left (F^{e g+f g x}\right )^{3 n} (c+d x)^m \Gamma \left (1+m,-\frac{3 f g n (c+d x) \log (F)}{d}\right ) \left (-\frac{f g n (c+d x) \log (F)}{d}\right )^{-m}}{f g n \log (F)}+\frac{3\ 2^{-1-m} a b^2 F^{2 \left (e-\frac{c f}{d}\right ) g n-2 g n (e+f x)} \left (F^{e g+f g x}\right )^{2 n} (c+d x)^m \Gamma \left (1+m,-\frac{2 f g n (c+d x) \log (F)}{d}\right ) \left (-\frac{f g n (c+d x) \log (F)}{d}\right )^{-m}}{f g n \log (F)}+\frac{3 a^2 b F^{\left (e-\frac{c f}{d}\right ) g n-g n (e+f x)} \left (F^{e g+f g x}\right )^n (c+d x)^m \Gamma \left (1+m,-\frac{f g n (c+d x) \log (F)}{d}\right ) \left (-\frac{f g n (c+d x) \log (F)}{d}\right )^{-m}}{f g n \log (F)}\\ \end{align*}

Mathematica [F]  time = 0.329205, size = 0, normalized size = 0. \[ \int \left (a+b \left (F^{g (e+f x)}\right )^n\right )^3 (c+d x)^m \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[(a + b*(F^(g*(e + f*x)))^n)^3*(c + d*x)^m,x]

[Out]

Integrate[(a + b*(F^(g*(e + f*x)))^n)^3*(c + d*x)^m, x]

________________________________________________________________________________________

Maple [F]  time = 0.04, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b \left ({F}^{g \left ( fx+e \right ) } \right ) ^{n} \right ) ^{3} \left ( dx+c \right ) ^{m}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*(F^(g*(f*x+e)))^n)^3*(d*x+c)^m,x)

[Out]

int((a+b*(F^(g*(f*x+e)))^n)^3*(d*x+c)^m,x)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(F^(g*(f*x+e)))^n)^3*(d*x+c)^m,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 1.66309, size = 656, normalized size = 1.93 \begin{align*} \frac{18 \,{\left (a^{2} b d m + a^{2} b d\right )} e^{\left (\frac{{\left (d e - c f\right )} g n \log \left (F\right ) - d m \log \left (-\frac{f g n \log \left (F\right )}{d}\right )}{d}\right )} \Gamma \left (m + 1, -\frac{{\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right ) + 9 \,{\left (a b^{2} d m + a b^{2} d\right )} e^{\left (\frac{2 \,{\left (d e - c f\right )} g n \log \left (F\right ) - d m \log \left (-\frac{2 \, f g n \log \left (F\right )}{d}\right )}{d}\right )} \Gamma \left (m + 1, -\frac{2 \,{\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right ) + 2 \,{\left (b^{3} d m + b^{3} d\right )} e^{\left (\frac{3 \,{\left (d e - c f\right )} g n \log \left (F\right ) - d m \log \left (-\frac{3 \, f g n \log \left (F\right )}{d}\right )}{d}\right )} \Gamma \left (m + 1, -\frac{3 \,{\left (d f g n x + c f g n\right )} \log \left (F\right )}{d}\right ) + 6 \,{\left (a^{3} d f g n x + a^{3} c f g n\right )}{\left (d x + c\right )}^{m} \log \left (F\right )}{6 \,{\left (d f g m + d f g\right )} n \log \left (F\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(F^(g*(f*x+e)))^n)^3*(d*x+c)^m,x, algorithm="fricas")

[Out]

1/6*(18*(a^2*b*d*m + a^2*b*d)*e^(((d*e - c*f)*g*n*log(F) - d*m*log(-f*g*n*log(F)/d))/d)*gamma(m + 1, -(d*f*g*n
*x + c*f*g*n)*log(F)/d) + 9*(a*b^2*d*m + a*b^2*d)*e^((2*(d*e - c*f)*g*n*log(F) - d*m*log(-2*f*g*n*log(F)/d))/d
)*gamma(m + 1, -2*(d*f*g*n*x + c*f*g*n)*log(F)/d) + 2*(b^3*d*m + b^3*d)*e^((3*(d*e - c*f)*g*n*log(F) - d*m*log
(-3*f*g*n*log(F)/d))/d)*gamma(m + 1, -3*(d*f*g*n*x + c*f*g*n)*log(F)/d) + 6*(a^3*d*f*g*n*x + a^3*c*f*g*n)*(d*x
 + c)^m*log(F))/((d*f*g*m + d*f*g)*n*log(F))

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(F**(g*(f*x+e)))**n)**3*(d*x+c)**m,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left ({\left (F^{{\left (f x + e\right )} g}\right )}^{n} b + a\right )}^{3}{\left (d x + c\right )}^{m}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(F^(g*(f*x+e)))^n)^3*(d*x+c)^m,x, algorithm="giac")

[Out]

integrate(((F^((f*x + e)*g))^n*b + a)^3*(d*x + c)^m, x)